<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        * {

        }

        #d1 {
            background-color: blue;
            align-content: center;
        }

        #d2 {
            background-color: bisque;
            align-content: baseline;
        }

    </style>

</head>
<body>
{% block base %}
    <div id="d1"><h1>大家好，我四第一页</h1></div>
    <div id="d2"><h2>这是样式</h2></div>
{% endblock %}

{% block base2 %}
{% endblock %}

<a href={% url 'login' %}>登录</a><br>
<a href={% url 'regiest' %}>注册</a><br>
<a href="static/jinchen.jpg">金晨</a><br>
<div align="center">
<img src="static/liushishi.jpg">
    </div>

</body>
</html>